/**
 * Event.java
 *
 * Roslan's Remake of MOO in 3D using Ardor3D
 * (C) 2011 Roslan Amir. All rights reserved.
 */

package com.roslan.games.moo3d.events;

import com.roslan.games.moo3d.spatial.FleetNode;
import com.roslan.games.moo3d.spatial.StarNode;

/**
 * This class is the superclass for all types of events that occur in the game.
 * 
 * @author Roslan Amir
 * @version 1.0 - Jan 30, 2011
 */
public abstract class Event {

	/**
	 * The star node that has just been explored.
	 */
	public final StarNode starNode;

	/**
	 * The fleet node that did the exploring.
	 */
	public final FleetNode fleetNode;

	/**
	 * Constructor.
	 * 
	 * @param starNode - The star node that has just been explored
	 * @param fleetNode - The fleet node that did the exploring
	 */
	public Event(StarNode starNode, FleetNode fleetNode) {
		this.starNode = starNode;
		this.fleetNode = fleetNode;
	}

}
